package my.graduation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import my.graduation.dto.DocRegScheDto;
import my.graduation.dto.PatRegScheDto;
import my.graduation.entity.RegistrationSchedule;
import my.graduation.entity.RegistrationSpots;
import my.graduation.result.Result;
import my.graduation.vo.DoctorRegVO;

import java.util.List;

/**
 * @Author: RavenLyn
 * @Date: 2024-12-13
 */
public interface RegistrationScheduleService extends IService<RegistrationSchedule> {

    Result generate();

    List<RegistrationSchedule> adminGetList();

    Result<List<RegistrationSchedule>> doctorGetList(DocRegScheDto dto);

    Result doctorUpdate(DocRegScheDto dto);

    Result doctorConfirm(DocRegScheDto dto);

    Result<List<DoctorRegVO>> patientGetRegScheList(PatRegScheDto dto);

    void handleExpired();
}
